import request from "@/utils/request";

export interface ShopSetting {
    _id: string;
    site_title: string;
    site_logo: string;
    site_keywords: string;
    site_description: string;
    no_picture: string;
    site_icp: string;
    site_tel: string;
    search_keywords: string;
    tongji_code: string;
    bombing_phone: string|number;
}

export const getShopSettingApi = (params?: Partial<ShopSetting>) => request.get("/admin/shopSetting", { params });
export const updateShopSettingApi = (data?: Partial<ShopSetting>) => request.post("/admin/shopSetting", data);
